const all = [
  { name: '一', id: 1 },
  { name: '二', id: 2 },
  { name: '三', id: 3 },
  { name: '四', id: 4 },
  { name: '五', id: 5 },
  { name: '六', id: 6 },
]

const min = [{ id: 2 }, { id: 3 }, { id: 5 }]

let sel = []

sel = all.filter(item => min.some(item2 => item2.id === item.id))

console.log(sel)
